package com.ztjy.sys.dao;

import com.ztjy.bean.Journal;
import com.ztjy.bean.LogParams;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface JournalDao {
    int deleteByPrimaryKey(Integer jId);

    boolean insert(Journal record);

    boolean insertSelective(Journal record);

    Journal selectByPrimaryKey(Integer jId);

    int updateByPrimaryKeySelective(Journal record);

    int updateByPrimaryKey(Journal record);

    List<Journal> selectAllJournal(LogParams logParams);
}